package com.cans.ssoserver.service.system.impl;

import com.cans.base.dao.api.IBaseDao;
import com.cans.base.service.impl.BaseServiceImpl;
import com.cans.ssoserver.dao.system.ISystemDao;
import com.cans.ssoserver.model.system.SystemModel;
import com.cans.ssoserver.service.system.api.ISystemService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @author cans
 * @date 2018/6/18
 * @description
 */
@Service("systemService")
@Transactional(rollbackFor = Exception.class)
public class SystemServiceImpl extends BaseServiceImpl<SystemModel,String> implements ISystemService {

    @Resource
    private ISystemDao systemDao;

    @Override
    public IBaseDao<SystemModel, String> getDaoImpl() {
        return systemDao;
    }
}
